﻿Public Class CRebalancing
    Private _strFondo As String
    Private _strGrupo As String
    Private _strSubgrupo As String
    Private _strInstrumento As String
    Private _strPrecioSucio24 As String
    Private _strDxV As String
    Private _strDeltaReal As String
    Private _strNominal As String
    Private _strTipoinst As String
    Private _strInstNum As String
    Private _strTitulos As String
    Private _dblPorcActivo As Double
    Private _dblDelta As Double
    Private _dblContribucion As Double
    Private _strTarget As String
    Private _strImpactoPorcActivo As String
    Private _strTargetDespues As String
    Private _strTargetDeltaDespues As String
    Private _dblTargetDeltaDespuesAux As Double
    Private _strImpactoActivo As String
    Private _strImpactoDelta As String
    Private _strNominales As String
    Private _strNominalesManual As String
    Private _strCantidad As String
    Private _strCantidadDespues As String
    Private _strMonto As String
    Private _strFondoPivot As String
    Private _strActivoMXN As String
    Private _strCV As String
    Private _strTipoTransaccion As String
    Private _strTipoTransaccionManual As String
    Private _strInstrumentoAux As String
    Private _strInstrumentoGRP As String
    Private _strRangoInferior As String
    Private _strRangoSuperior As String
    Private _strTVGenericos As String
    Private _strInstrumentoPivot As String
    Private _strRangoSupInf As String
    Private _strSobretasa As String
    Private _strSobretasaManual As String
    Private _blnAgregado As Boolean
    Private _blnErroneo As Boolean

    Public Sub New()
        FONDO = ""
        GRUPO = ""
        SUBGRUPO = ""
        INSTRUMENTO = ""
        PRECIO_SUCIO_24H = ""
        DxV = ""
        DELTA_REAL = ""
        NOMINAL = ""
        TIPOINST = ""
        INST_NUM = ""
        TITULOS = ""
        PORCACTIVO = 0
        DELTA = 0
        CONTRIBUCION = 0
        TARGET = ""
        IMPACTOPORCACTIVO = ""
        TARGETDESPUES = ""
        TARGETDELTADESPUES = ""
        IMPACTOACTIVO = ""
        IMPACTODELTA = ""
        NOMINALES = ""
        NOMINALESMANUAL = ""
        CANTIDAD = ""
        CANTIDADDESPUES = ""
        MONTO = ""
        FONDOPIVOT = ""
        ACTIVOMXN = ""
        CV = ""
        TIPOTRANSACCION = ""
        TIPOTRANSACCIONMANUAL = ""
        INSTRUMENTOAUX = ""
        INSTRUMENTOGRP = ""
        RANGOINFERIOR = ""
        RANGOSUPERIOR = ""
        TVGENERICOS = ""
        INSTRUMENTOPIVOT = ""
        RANGOSUPINF = ""
        SOBRETASA = ""
        SOBRETASAMANUAL = ""
        AGREGADO = False
        ERRONEO = False
    End Sub

    Public Property FONDO As String
        Get
            FONDO = Me._strFondo
        End Get
        Set(value As String)
            Me._strFondo = value
        End Set
    End Property

    Public Property GRUPO As String
        Get
            GRUPO = Me._strGrupo
        End Get
        Set(value As String)
            Me._strGrupo = value
        End Set
    End Property

    Public Property SUBGRUPO As String
        Get
            SUBGRUPO = Me._strSubgrupo
        End Get
        Set(value As String)
            Me._strSubgrupo = value
        End Set
    End Property

    Public Property INSTRUMENTO As String
        Get
            INSTRUMENTO = Me._strInstrumento
        End Get
        Set(value As String)
            Me._strInstrumento = value
        End Set
    End Property

    Public Property PRECIO_SUCIO_24H As String
        Get
            PRECIO_SUCIO_24H = Me._strPrecioSucio24
        End Get
        Set(value As String)
            Me._strPrecioSucio24 = value
        End Set
    End Property

    Public Property DxV As String
        Get
            DxV = Me._strDxV
        End Get
        Set(value As String)
            Me._strDxV = value
        End Set
    End Property

    Public Property DELTA_REAL As String
        Get
            DELTA_REAL = Me._strDeltaReal
        End Get
        Set(value As String)
            Me._strDeltaReal = value
        End Set
    End Property

    Public Property NOMINAL As String
        Get
            NOMINAL = Me._strNominal
        End Get
        Set(value As String)
            Me._strNominal = value
        End Set
    End Property

    Public Property TIPOINST As String
        Get
            TIPOINST = Me._strTipoinst
        End Get
        Set(value As String)
            Me._strTipoinst = value
        End Set
    End Property

    Public Property INST_NUM As String
        Get
            INST_NUM = Me._strInstNum
        End Get
        Set(value As String)
            Me._strInstNum = value
        End Set
    End Property

    Public Property TITULOS As String
        Get
            TITULOS = Me._strTitulos
        End Get
        Set(value As String)
            Me._strTitulos = value
        End Set
    End Property

    Public Property PORCACTIVO As Double
        Get
            PORCACTIVO = Me._dblPorcActivo
        End Get
        Set(value As Double)
            Me._dblPorcActivo = value
        End Set
    End Property

    Public Property DELTA As Double
        Get
            DELTA = Me._dblDelta
        End Get
        Set(value As Double)
            Me._dblDelta = value
        End Set
    End Property

    Public Property CONTRIBUCION As Double
        Get
            CONTRIBUCION = Me._dblContribucion
        End Get
        Set(value As Double)
            Me._dblContribucion = value
        End Set
    End Property

    Public Property TARGET As String
        Get
            TARGET = Me._strTarget
        End Get
        Set(value As String)
            Me._strTarget = value
        End Set
    End Property

    Public Property IMPACTOPORCACTIVO As String
        Get
            IMPACTOPORCACTIVO = Me._strImpactoPorcActivo
        End Get
        Set(value As String)
            Me._strImpactoPorcActivo = value
        End Set
    End Property

    Public Property TARGETDESPUES As String
        Get
            TARGETDESPUES = Me._strTargetDespues
        End Get
        Set(value As String)
            Me._strTargetDespues = value
        End Set
    End Property

    Public Property TARGETDELTADESPUES As String
        Get
            TARGETDELTADESPUES = Me._strTargetDeltaDespues
        End Get
        Set(value As String)
            Me._strTargetDeltaDespues = value
        End Set
    End Property

    Public Property TARGETDELTADESPUESAUX As Double
        Get
            TARGETDELTADESPUESAUX = Me._dblTargetDeltaDespuesAux
        End Get
        Set(value As Double)
            Me._dblTargetDeltaDespuesAux = value
        End Set
    End Property

    Public Property IMPACTOACTIVO As String
        Get
            IMPACTOACTIVO = Me._strImpactoActivo
        End Get
        Set(value As String)
            Me._strImpactoActivo = value
        End Set
    End Property

    Public Property IMPACTODELTA As String
        Get
            IMPACTODELTA = Me._strImpactoDelta
        End Get
        Set(value As String)
            Me._strImpactoDelta = value
        End Set
    End Property

    Public Property NOMINALES As String
        Get
            NOMINALES = Me._strNominales
        End Get
        Set(value As String)
            Me._strNominales = value
        End Set
    End Property

    Public Property NOMINALESMANUAL As String
        Get
            NOMINALESMANUAL = Me._strNominalesManual
        End Get
        Set(value As String)
            Me._strNominalesManual = value
        End Set
    End Property

    Public Property CANTIDAD As String
        Get
            CANTIDAD = Me._strCantidad
        End Get
        Set(value As String)
            Me._strCantidad = value
        End Set
    End Property

    Public Property CANTIDADDESPUES As String
        Get
            CANTIDADDESPUES = Me._strCantidadDespues
        End Get
        Set(value As String)
            Me._strCantidadDespues = value
        End Set
    End Property

    Public Property MONTO As String
        Get
            MONTO = Me._strMonto
        End Get
        Set(value As String)
            Me._strMonto = value
        End Set
    End Property

    Public Property FONDOPIVOT As String
        Get
            FONDOPIVOT = Me._strFondoPivot
        End Get
        Set(value As String)
            Me._strFondoPivot = value
        End Set
    End Property

    Public Property ACTIVOMXN As String
        Get
            ACTIVOMXN = Me._strActivoMXN
        End Get
        Set(value As String)
            Me._strActivoMXN = value
        End Set
    End Property

    Public Property CV As String
        Get
            CV = Me._strCV
        End Get
        Set(value As String)
            Me._strCV = value
        End Set
    End Property

    Public Property TIPOTRANSACCION As String
        Get
            TIPOTRANSACCION = Me._strTipoTransaccion
        End Get
        Set(value As String)
            Me._strTipoTransaccion = value
        End Set
    End Property

    Public Property TIPOTRANSACCIONMANUAL As String
        Get
            TIPOTRANSACCIONMANUAL = Me._strTipoTransaccionManual
        End Get
        Set(value As String)
            Me._strTipoTransaccionManual = value
        End Set
    End Property

    Public Property INSTRUMENTOAUX As String
        Get
            INSTRUMENTOAUX = Me._strInstrumentoAux
        End Get
        Set(value As String)
            Me._strInstrumentoAux = value
        End Set
    End Property

    Public Property INSTRUMENTOGRP As String
        Get
            INSTRUMENTOGRP = Me._strInstrumentoGRP
        End Get
        Set(value As String)
            Me._strInstrumentoGRP = value
        End Set
    End Property

    Public Property RANGOINFERIOR As String
        Get
            RANGOINFERIOR = Me._strRangoInferior
        End Get
        Set(value As String)
            Me._strRangoInferior = value
        End Set
    End Property

    Public Property RANGOSUPERIOR As String
        Get
            RANGOSUPERIOR = Me._strRangoSuperior
        End Get
        Set(value As String)
            Me._strRangoSuperior = value
        End Set
    End Property

    Public Property TVGENERICOS As String
        Get
            TVGENERICOS = Me._strTVGenericos
        End Get
        Set(value As String)
            Me._strTVGenericos = value
        End Set
    End Property

    Public Property INSTRUMENTOPIVOT As String
        Get
            INSTRUMENTOPIVOT = Me._strInstrumentoPivot
        End Get
        Set(value As String)
            Me._strInstrumentoPivot = value
        End Set
    End Property

    Public Property RANGOSUPINF As String
        Get
            RANGOSUPINF = Me._strRangoSupInf
        End Get
        Set(value As String)
            Me._strRangoSupInf = value
        End Set
    End Property

    Public Property SOBRETASA As String
        Get
            SOBRETASA = Me._strSobretasa
        End Get
        Set(value As String)
            Me._strSobretasa = value
        End Set
    End Property

    Public Property SOBRETASAMANUAL As String
        Get
            SOBRETASAMANUAL = Me._strSobretasaManual
        End Get
        Set(value As String)
            Me._strSobretasaManual = value
        End Set
    End Property

    Public Property AGREGADO As Boolean
        Get
            AGREGADO = Me._blnAgregado
        End Get
        Set(value As Boolean)
            Me._blnAgregado = value
        End Set
    End Property

    Public Property ERRONEO As Boolean
        Get
            ERRONEO = Me._blnErroneo
        End Get
        Set(value As Boolean)
            Me._blnErroneo = value
        End Set
    End Property
End Class
